package com.example.wang.bindview.api.finder;

import android.content.Context;
import android.view.View;

public class ViewFinder implements Finder {
    @Override
    public Context getContext(Object source) {
        return ((View)source).getContext();
    }

    @Override
    public View findView(Object source, int resId) {
        return ((View)source).findViewById(resId);
    }
}
